package com.yunhe.java.day06;

/**static 静态变量、静态方法 、静态初始化块
 * Created by Administrator on 2017/7/27 0027.
 */
public class Person {
    String name;
    char sex;
   static int age=18;
    int weight;
    boolean one=true;
    public static void  Person(){
        System.out.println(age+5);
        Person per=new Person();
        System.out.println(per.one);
    }
    static {
        String like;
        like="爱打游戏";
        System.out.println(like);
    }
}




